package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.SystemDictionaryItem;
import cn.wolfcode.crm.query.SystemDictionaryQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ISystemDictionaryItemService {
    void delete(Long id);
    void save(SystemDictionaryItem systemDictionaryItem);
    SystemDictionaryItem get(Long id);
    List<SystemDictionaryItem> listAll();
    void update(SystemDictionaryItem systemDictionaryItem);

    /**
     * 分页
     * @param qo
     * @return
     */
    PageInfo query(SystemDictionaryQuery qo);

    List<SystemDictionaryItem> selectMsgByDicSn(String sn);

    List<SystemDictionaryItem> selectTitle(Long[] titleIds);
}
